package com.sf.fy.uav.controller;

import com.sf.fy.uav.entity.AirportInfo;
import com.sf.fy.uav.service.IAirportInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * <p>
 * 航站信息，用于维护要展示的航站列表数据 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2024-02-20
 */
@Controller
public class AirportInfoRest {

    @Autowired
    private IAirportInfoService iAirportInfoService;

    public List<AirportInfo> getList() {
        return iAirportInfoService.getList();
    }
}
